<%= form_tag :controller=>'report', :action => 'update_company', :id=>company.id%>
<ul>
<li class="info_data">公司名称：
<%= text_field 'company', 'name',:size=>"35",:class=>"info_input"%></li>
<li class="info_data">公司地址：
<%= text_field 'company', 'address',:size=>"35",:class=>"info_input"%></li>
<li class="info_data">公司电话：
<%= text_field 'company', 'telephone',:size=>"35",:class=>"info_input"%></li>
<li class="info_data">公司网址：
<%= text_field 'company', 'website_address',:size=>"35",:class=>"info_input"%></li>
<li class="info_data">备注说明：
<%= text_field 'company', 'description',:size=>"35",:class=>"info_input"%></li>
<li class="info_data">所在行业：
<%= 
    @industries = Industry.find(:all).map {|u| [u.name, u.id] }
    select 'company', 'tindustry_id',@industries
    %></li>
<li class="info_data">公司性质：
<%= 
    @entities = Entity.find(:all).map {|u| [u.name, u.id] }
    select 'company', 'tentity_id',@entities
    %></li>
<li class="info_data">公司规模：
<%= @sizes = Size.find(:all).map {|u| [u.name, u.id] }
    	select 'company', 'tsize_id',@sizes %></li>
<li class="info_data">内部级别：
<%= text_field 'company', 'tgrade',:size=>"10",
    									:onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%>
<%= observe_field(:company_tgrade,:frequency => 0.5,:update => "rankList",
    				  :url => {:controller=>"index",:action => "post_rank"}) %>(输入一个整数级别，方便用户比较)</li>

</ul>
<div style="width:480px;" align="right">
<%= submit_tag " 更 新 ",:class=>"btn_mouseout",
:onmouseover=>"this.className='btn_mouseover'",
	:onmouseout=>"this.className='btn_mouseout'",
	:onmousedown=>"this.className='btn_mousedown'",
	:onmouseup=>"this.className='btn_mouseup'",:onClick=>"if(confirm('更新后将删除该样本的职位报告，是否继续？'))return true;return false"%>
&nbsp;(
<%= link_to_remote "取消", :url=>{:controller=>"info", :action=>"hide_company", :id=>company.id} %>
)</div>
<%= end_form_tag %>
<div style="clear:left;width:480px;height:25px">&nbsp;</div>
<div class="solid_line">标签(<a
	href=<%=url_for :controller=>"info", :action=>"modify_tag", :obj_id=>company.id, :category_id=>3 %>
	onclick="window.open(this.href,'修改标签','height=360px,width=480px');return false;">修改标签</a>):&nbsp;<span
	id=<%="tag_3_"+company.id.to_s%>><%=show_tag_list(company.tag_list,3,6)%></span></div>
